﻿namespace Common
{
    public class QqUrls
    {
        internal const string BaseUrl = "https://open.t.qq.com";
        internal const string Authorize = BaseUrl + "/cgi-bin/oauth2/authorize";
        internal const string AccessToken =BaseUrl +  "/cgi-bin/oauth2/access_token";
        internal const string Comment = BaseUrl + "/api/t/comment";//评论
        internal const string Repost = BaseUrl + "/api/t/re_add";//转播
        internal const string Update = BaseUrl + "/api/t/add";//发微薄 文字
        internal const string Upload = BaseUrl + "/api/t/add_pic";//发微薄 带图
        internal const string GetUserInfo = BaseUrl + "/api/user/info";//获取用户信息
        internal const string AddFriend = BaseUrl + "/api/friends/add";//收听某个用户?? 因被限制暂不做
        internal const string UserTimeline = BaseUrl + "/api/statuses/broadcast_timeline";//发表时间线

        internal const string AuthorizeConnect = "https://graph.qq.com/oauth2.0/authorize";
        internal const string AccessTokenConnect = "https://graph.qq.com/oauth2.0/token";
        internal const string OpenID = "https://graph.qq.com/oauth2.0/me";
        internal const string GetUserInfoConnect = "https://graph.qq.com/user/get_user_info";
    }
    public class TbUrls
    {
        internal const string Authorize = "https://oauth.taobao.com/authorize";
        internal const string AccessToken = "https://oauth.taobao.com/token";
        internal const string ApiUrl = "https://eco.taobao.com/router/rest";
    }
}
